package com.piaodekuai.flight.pojo;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {
    private Integer oId;

    private String oNum;

    private String oCompany;

    private String oFlightNumber;

    private String oPlaneType;

    private String oFromcity;

    private String oTocity;

    private String oFromairport;

    private String oToairport;

    private Date oStartTime;

    private String oPassenger;

    private String oCardNum;

    private String oPhone;

    private String oTel;

    private Float oPrice;

    private Integer oStyle;

    private static final long serialVersionUID = 1L;

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public String getoNum() {
        return oNum;
    }

    public void setoNum(String oNum) {
        this.oNum = oNum == null ? null : oNum.trim();
    }

    public String getoCompany() {
        return oCompany;
    }

    public void setoCompany(String oCompany) {
        this.oCompany = oCompany == null ? null : oCompany.trim();
    }

    public String getoFlightNumber() {
        return oFlightNumber;
    }

    public void setoFlightNumber(String oFlightNumber) {
        this.oFlightNumber = oFlightNumber == null ? null : oFlightNumber.trim();
    }

    public String getoPlaneType() {
        return oPlaneType;
    }

    public void setoPlaneType(String oPlaneType) {
        this.oPlaneType = oPlaneType == null ? null : oPlaneType.trim();
    }

    public String getoFromcity() {
        return oFromcity;
    }

    public void setoFromcity(String oFromcity) {
        this.oFromcity = oFromcity == null ? null : oFromcity.trim();
    }

    public String getoTocity() {
        return oTocity;
    }

    public void setoTocity(String oTocity) {
        this.oTocity = oTocity == null ? null : oTocity.trim();
    }

    public String getoFromairport() {
        return oFromairport;
    }

    public void setoFromairport(String oFromairport) {
        this.oFromairport = oFromairport == null ? null : oFromairport.trim();
    }

    public String getoToairport() {
        return oToairport;
    }

    public void setoToairport(String oToairport) {
        this.oToairport = oToairport == null ? null : oToairport.trim();
    }

    public Date getoStartTime() {
        return oStartTime;
    }

    public void setoStartTime(Date oStartTime) {
        this.oStartTime = oStartTime;
    }

    public String getoPassenger() {
        return oPassenger;
    }

    public void setoPassenger(String oPassenger) {
        this.oPassenger = oPassenger == null ? null : oPassenger.trim();
    }

    public String getoCardNum() {
        return oCardNum;
    }

    public void setoCardNum(String oCardNum) {
        this.oCardNum = oCardNum == null ? null : oCardNum.trim();
    }

    public String getoPhone() {
        return oPhone;
    }

    public void setoPhone(String oPhone) {
        this.oPhone = oPhone == null ? null : oPhone.trim();
    }

    public String getoTel() {
        return oTel;
    }

    public void setoTel(String oTel) {
        this.oTel = oTel == null ? null : oTel.trim();
    }

    public Float getoPrice() {
        return oPrice;
    }

    public void setoPrice(Float oPrice) {
        this.oPrice = oPrice;
    }

    public Integer getoStyle() {
        return oStyle;
    }

    public void setoStyle(Integer oStyle) {
        this.oStyle = oStyle;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", oId=").append(oId);
        sb.append(", oNum=").append(oNum);
        sb.append(", oCompany=").append(oCompany);
        sb.append(", oFlightNumber=").append(oFlightNumber);
        sb.append(", oPlaneType=").append(oPlaneType);
        sb.append(", oFromcity=").append(oFromcity);
        sb.append(", oTocity=").append(oTocity);
        sb.append(", oFromairport=").append(oFromairport);
        sb.append(", oToairport=").append(oToairport);
        sb.append(", oStartTime=").append(oStartTime);
        sb.append(", oPassenger=").append(oPassenger);
        sb.append(", oCardNum=").append(oCardNum);
        sb.append(", oPhone=").append(oPhone);
        sb.append(", oTel=").append(oTel);
        sb.append(", oPrice=").append(oPrice);
        sb.append(", oStyle=").append(oStyle);
        sb.append("]");
        return sb.toString();
    }
}